@import "fontsize-and-color.scss";

.main-head__second-list {

  position: absolute;
  left: 0;
  top: 140px;
  width: 100%;
  min-width: 1226px;
  height: 1px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: height .5s .05s;
  z-index: 8;
  overflow: hidden;

  li {
    width: 204px;
    height: 100%;
    position: relative;

    &::after {
      content: '';
      display: block;
      height: 100px;
      width: 1px;
      background-color: #e0e0e0;
      position: absolute;
      top: 35px;
      right: 0;
    }

    &:last-child::after {
      content: '';
      display: none;
    }

    .mini-shop-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 35px;
      padding: 0 12px;
      text-align: center;

      img {
        display: block;
        width: 160px;
        height: 110px;
        object-fit: cover;
        cursor: pointer;
      }

      p {
        @include font-small;
        cursor: pointer;

        &:nth-child(2) {
          margin-top: 16px;
          color: $main-text-1st;
        }

        &:last-child {
          color: $mi-theme-color;
        }
      }
    }
  }
}